package com.niubility.dao;

import com.niubility.entity.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CheckDepDao{
    public int Save(Department dep);
    public int Delete(@Param("colegeId") int colegeId, @Param("name") String name);
    public List<Department> Select(@Param("colegeId") int colegeId, @Param("name") String name);
    public List<Department> LoadAll(@Param("start") int start, @Param("num") int num);
    public int GetLagerPage(int num);
    public int PageNum();
    public int LastInsertId();
}
